set (fps_demo_VERSION_MAJOR 1)
set (fps_demo_VERSION_MINOR 0)

SET(fps_demo_SOURCES wentity.cpp walktest.cpp walkdemo.cpp walkdbg.cpp walkcmd.cpp walkcd.cpp keys.cpp command.cpp bot.cpp main.cpp gesturewalktest.cpp bullet.cpp)

include_directories ("${CMAKE_CURRENT_SOURCE_DIR}/../mlgesture")
INCLUDE(${QT_USE_FILE})

ADD_DEFINITIONS(${QT_DEFINITIONS})
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})

add_executable(fps_demo ${fps_demo_SOURCES})
target_link_libraries (fps_demo mlgesture ${QT_LIBRARIES} ${OpenCV_LIBS} ${Boost_THREAD_LIBRARY} ${CRYSTALSPACE_LIBS})

install(TARGETS fps_demo DESTINATION ${CMAKE_BINARY_DIR}/app PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_WRITE WORLD_EXECUTE)
